#define _CRT_SECURE_NO_WARNINGS 1

#include <stdio.h>
#include <string.h>

int main()
{
	char str1[20] = "3425588767@qq.com";
	char str2[20] = { 0 };
	strcpy(str2, str1);
	char* pc = "@.";
	for (char* ret = strtok(str1, pc);ret != NULL; ret = strtok(NULL, pc))
	{
		printf("%s\n",ret);
	}
	return 0;
}